Optimal. Leaf size=45 \[ \frac {\log \left (a+b x^3\right )}{3 (b c-a d)}-\frac {\log \left (c+d x^3\right )}{3 (b c-a d)} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {444, 36, 31} \begin {gather*} \frac {\log \left (a+b x^3\right )}{3 (b c-a d)}-\frac {\log \left (c+d x^3\right )}{3 (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 36
Rule 444
Rubi steps
\begin {align*} \int \frac {x^2}{\left (a+b x^3\right ) \left (c+d x^3\right )} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{(a+b x) (c+d x)} \, dx,x,x^3\right )\\ &=\frac {b \operatorname {Subst}\left (\int \frac {1}{a+b x} \, dx,x,x^3\right )}{3 (b c-a d)}-\frac {d \operatorname {Subst}\left (\int \frac {1}{c+d x} \, dx,x,x^3\right )}{3 (b c-a d)}\\ &=\frac {\log \left (a+b x^3\right )}{3 (b c-a d)}-\frac {\log \left (c+d x^3\right )}{3 (b c-a d)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 31, normalized size = 0.69 \begin {gather*} \frac {\log \left (a+b x^3\right )-\log \left (c+d x^3\right )}{3 b c-3 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^2}{\left (a+b x^3\right ) \left (c+d x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 31, normalized size = 0.69 \begin {gather*} \frac {\log \left (b x^{3} + a\right ) - \log \left (d x^{3} + c\right )}{3 \, {\left (b c - a d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 51, normalized size = 1.13 \begin {gather*} \frac {b \log \left ({\left | b x^{3} + a \right |}\right )}{3 \, {\left (b^{2} c - a b d\right )}} - \frac {d \log \left ({\left | d x^{3} + c \right |}\right )}{3 \, {\left (b c d - a d^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 42, normalized size = 0.93 \begin {gather*} -\frac {\ln \left (b \,x^{3}+a \right )}{3 \left (a d -b c \right )}+\frac {\ln \left (d \,x^{3}+c \right )}{3 a d -3 b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 41, normalized size = 0.91 \begin {gather*} \frac {\log \left (b x^{3} + a\right )}{3 \, {\left (b c - a d\right )}} - \frac {\log \left (d x^{3} + c\right )}{3 \, {\left (b c - a d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.26, size = 602, normalized size = 13.38 \begin {gather*} -\frac {\mathrm {atan}\left (\frac {\frac {\left (\frac {x^3\,\left (36\,c\,b^4\,d^3+36\,a\,b^3\,d^4\right )+\frac {x^3\,\left (54\,a^2\,b^3\,d^5+108\,a\,b^4\,c\,d^4+54\,b^5\,c^2\,d^3\right )+108\,a\,b^4\,c^2\,d^3+108\,a^2\,b^3\,c\,d^4}{3\,a\,d-3\,b\,c}+36\,a\,b^3\,c\,d^3}{3\,a\,d-3\,b\,c}+6\,b^3\,d^3\,x^3\right )\,1{}\mathrm {i}}{3\,a\,d-3\,b\,c}-\frac {\left (\frac {x^3\,\left (36\,c\,b^4\,d^3+36\,a\,b^3\,d^4\right )-\frac {x^3\,\left (54\,a^2\,b^3\,d^5+108\,a\,b^4\,c\,d^4+54\,b^5\,c^2\,d^3\right )+108\,a\,b^4\,c^2\,d^3+108\,a^2\,b^3\,c\,d^4}{3\,a\,d-3\,b\,c}+36\,a\,b^3\,c\,d^3}{3\,a\,d-3\,b\,c}-6\,b^3\,d^3\,x^3\right )\,1{}\mathrm {i}}{3\,a\,d-3\,b\,c}}{\frac {\frac {x^3\,\left (36\,c\,b^4\,d^3+36\,a\,b^3\,d^4\right )+\frac {x^3\,\left (54\,a^2\,b^3\,d^5+108\,a\,b^4\,c\,d^4+54\,b^5\,c^2\,d^3\right )+108\,a\,b^4\,c^2\,d^3+108\,a^2\,b^3\,c\,d^4}{3\,a\,d-3\,b\,c}+36\,a\,b^3\,c\,d^3}{3\,a\,d-3\,b\,c}+6\,b^3\,d^3\,x^3}{3\,a\,d-3\,b\,c}+\frac {\frac {x^3\,\left (36\,c\,b^4\,d^3+36\,a\,b^3\,d^4\right )-\frac {x^3\,\left (54\,a^2\,b^3\,d^5+108\,a\,b^4\,c\,d^4+54\,b^5\,c^2\,d^3\right )+108\,a\,b^4\,c^2\,d^3+108\,a^2\,b^3\,c\,d^4}{3\,a\,d-3\,b\,c}+36\,a\,b^3\,c\,d^3}{3\,a\,d-3\,b\,c}-6\,b^3\,d^3\,x^3}{3\,a\,d-3\,b\,c}}\right )\,2{}\mathrm {i}}{3\,a\,d-3\,b\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 2.47, size = 138, normalized size = 3.07 \begin {gather*} \frac {\log {\left (x^{3} + \frac {- \frac {a^{2} d^{2}}{a d - b c} + \frac {2 a b c d}{a d - b c} + a d - \frac {b^{2} c^{2}}{a d - b c} + b c}{2 b d} \right )}}{3 \left (a d - b c\right )} - \frac {\log {\left (x^{3} + \frac {\frac {a^{2} d^{2}}{a d - b c} - \frac {2 a b c d}{a d - b c} + a d + \frac {b^{2} c^{2}}{a d - b c} + b c}{2 b d} \right )}}{3 \left (a d - b c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________